/*
 * Copyright 2018 JDCLOUD.COM
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http:#www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * 
 * 
 *
 * 
 * Contact: 
 *
 * NOTE: This class is auto generated by the jdcloud code generator program.
 */


using System;
using System.Collections.Generic;
using System.Text;


namespace JDCloudSDK.Mps.Model
{

    /// <summary>
    ///  输出配置
    /// </summary>
    public class Output
    {

        ///<summary>
        /// 输出对象存储区域
        ///</summary>
        public string Region{ get; set; }
        ///<summary>
        /// 输出对象存储空间
        ///</summary>
        public string Bucket{ get; set; }
        ///<summary>
        /// 截图输出路径，包含占位符的截图输出路径。当前支持的占位符包括：
        ///   {FILENAME} - 输入视频的简单文件名，如 &quot;我和我的祖国&quot;
        ///   {TASKID} - 该截图任务的ID，如 &quot;7234584d911b4e0db2fa13545c764898&quot;
        ///   {YEAR} - 四位数字年份，如 &quot;2020&quot;
        ///   {MONTH} - 两位数字月份，如 &quot;04&quot;
        ///   {DAY} - 两位数字日期，如 &quot;15&quot;
        /// 若未设置，则使用默认的输出路径：mps/{YEAR}/{MONTH}/{DAY}/{FILENAME}/ ，最终解析出的路径如 mps/2020/04/15/我和我的祖国/
        /// 为保证输出文件的唯一性，避免覆盖，系统会按照一定规则生成文件名，规则如下：
        /// 对于普通截图，生成 {TASKID}.{SEQUENCEID}.{EXTNAME} 规则的文件名；
        /// 对于雪碧图，生成 {TASKID}-sprite.{EXTNAME} 规则的文件名；
        /// 其中 SEQUENCEID 为左补0的6位数字截图序号，EXTNAME 为截图模板中截图格式 format 字段对应的文件扩展名
        /// 综述，若未设置此字段，则最终输出的普通截图形如：mps/2020/04/15/我和我的祖国/7234584d911b4e0db2fa13545c764898.000001.jpg ; 雪碧图形如：mps/2020/04/15/我和我的祖国/7234584d911b4e0db2fa13545c764898-sprite.jpg
        /// 
        ///</summary>
        public string ObjectPath{ get; set; }
    }
}
